package com.ruoyi.sywx.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 舆情反馈业务对象 sywx_yq_feedback
 *
 * @author ruoyi
 * @date 2024-01-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SywxYqFeedbackBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 舆情id
     */
    @NotNull(message = "舆情id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long yqId;

    /**
     * 附件id
     */
    private Long ossId;

    /**
     * 附件url
     */
    @NotBlank(message = "附件url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String url;

    /**
     * 文字反馈
     */
    @NotBlank(message = "文字反馈不能为空", groups = { AddGroup.class, EditGroup.class })
    private String feedback;


}
